/*** Eclipse Class Decompiler plugin, copyright (c) 2012 Chao Chen (cnfree2000@hotmail.com) ***/
package com.qihoopp.qcoinpay;

import android.text.TextUtils;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.EditText;
import android.widget.Toast;

final class i implements View.OnClickListener {
    public final void onClick(View paramView) {
        paramView = aq.c(this.a).getText().toString().trim();
        String str1 = aq.d(this.a).getText().toString().trim();
        String str2 = aq.e(this.a).getText().toString().trim();
        String str3 = aq.f(this.a).getText().toString().trim();
        String str4 = String.valueOf(aq.g(this.a));
        if ((TextUtils.isEmpty(paramView)) || (TextUtils.isEmpty(str1)) || (TextUtils.isEmpty(str2))
                || (TextUtils.isEmpty(str3))) {
            Toast.makeText(aq.h(this.a), a.a(b.aA), 0).show();
            return;
        }
        if ((str1.length() < 6) || (str1.length() > 18)) {
            Toast.makeText(aq.h(this.a), a.a(b.aC), 0).show();
            return;
        }
        if ((cz.a(str1)) || (cz.b(str1)) || (cz.c(str1))) {
            Toast.makeText(aq.h(this.a), a.a(b.aD), 0).show();
            return;
        }
        if (str1.equals(aq.i(this.a))) {
            Toast.makeText(aq.h(this.a), a.a(b.aE), 0).show();
            return;
        }
        if (!(str1.equals(str2))) {
            Toast.makeText(aq.h(this.a), a.a(b.aF), 0).show();
            return;
        }
        if (str1.equals(paramView)) {
            Toast.makeText(aq.h(this.a), a.a(b.aG), 0).show();
            return;
        }
        aq.a(this.a).a(paramView, str1, str4, str3);
    }
}